﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Medianamik.Core.Interfaces;

namespace Medianamik.Core
{
    public class ManyToOneRelation: IRelationOption
    {
        public ManyToOneRelation(Guid nodeId, Guid propertyId)
        {
            NodeId = nodeId;
            PropertyId = propertyId;
            ParentNodeId = null;
        }

        public Guid? ParentNodeId { get; set; }

        public Guid NodeId { get; set; }

        public Guid PropertyId { get; set; }
    }
}
